from rest_framework import serializers

from main.models import User


class UserSerializer(serializers.ModelSerializer):

    # main = MainSerializer(many=True,read_only=True)

    class Meta:
        model = User
        fields = ["username","uid","email",]